package com.pkk.alert.web.schedule;

import com.pkk.alert.service.impl.HealthCheckBusinessService;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 健康检测
 *
 * @author peikunkun
 * @version V1.0
 * @date 2020-12-01 11:21
 **/
@Slf4j
@Component
public class HealthCheckSchedule {


  @Resource
  private HealthCheckBusinessService healthCheckBusinessService;


  /**
   * 健康检测
   *
   * @return void
   * @Param
   * @author peikunkun
   * @date 2020/12/1 0001 上午 11:22
   * @since
   */
  public void healthCheck() {
    healthCheckBusinessService.handleCheckHealth();
  }


  /**
   * 饮食健康检测
   *
   * @return void
   * @Param
   * @author peikunkun
   * @date 2020/12/1 0001 上午 11:22
   * @since
   */
  public void healthDietCheck() {
    healthCheckBusinessService.handleHealthDietCheck();
  }


}
